
#include "PlayerBasic.h"



string PlayerBasic::getName()
{
	return this->characterInfo.name;
}
void PlayerBasic::setName(string name)
{
	this->characterInfo.name = name;
}

//string PlayerBasic::getID()
//{
//	return this->id;
//}
//void PlayerBasic::setID(string id)
//{
//	this->id = id;
//}
//
//string PlayerBasic::getPWD()
//{
//	return this->pwd;
//}
//void PlayerBasic::setPWD(string pwd)
//{
//	this->pwd = pwd;
//}

short PlayerBasic::getAge()
{
	return this->characterInfo.age;
}
void PlayerBasic::setAge(short age)
{
	this->characterInfo.age = age;
}

short PlayerBasic::getSex()
{
	return this->characterInfo.sex;
}
void PlayerBasic::setSex(short sexType)
{
	this->characterInfo.sex = sexType;
}

string PlayerBasic::getAddres()
{
	return this->characterInfo.addres;
}
void PlayerBasic::setAddres(string addres)
{
	this->characterInfo.addres = addres;
}


